import request from '../utils/request'


export const getRoleList = (page = 1, limit = 20) => {
    return request({
        url: `/admin/role?page=${page}&limit=${limit}`,
        method: 'GET',
    })
}




export const lookRolePermission = (id) => {
    return request({
        url: `/admin/role/read?id=${id}`,
        method: 'GET',
    })
}



